import thenFs from "then-fs";
function getfile(fpath){
    return new Promise(
        function(resolve,reject){
            thenFs.readFile(fpath,'utf8',(err,dataStr)=>{
                if(err) return reject(err)
                resolve(dataStr)
            })
        }
    )
}